package com.shuqi.activity.viewport;

import com.shuqi.controller.R;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;

/**
 * 搜索排行页脚
 * 
 * @author linyuren
 * 
 */
public class SearchRankFooterView extends LinearLayout {

    private Context context;

    public SearchRankFooterView(Context context) {
        super(context);
        this.context = context;
        View view = LayoutInflater.from(this.context).inflate(R.layout.common_view_myfooter, null);
        ViewGroup.LayoutParams params =
                new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT,
                        ViewGroup.LayoutParams.WRAP_CONTENT);
        view.setLayoutParams(params); // 设置view为占满横屏整个屏幕
        addView(view);
    }

}
